package day05;

public class MethodOverload {
    public static void main(String[] args) {
        say();
        say("张三");
        say(3);
        say("dachu", 12);
        say(12, "sai");
    }


    public static void say() {
        System.out.println("我爱java");
    }

    public static void say(String name) {
        System.out.println("我爱你"+name);
    }

    public static void say(int age) {
        System.out.println("我的年龄是："+age);
    }

    public static void say(int age, String name) {
        System.out.println("我的名字是："+name+"我的身高是："+age);
    }

    public static void say(String name, int age) {

    }
}
